package com.neusoft.neuiotms.common.conf;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

import com.neusoft.bizcore.web.utils.id.BaseIdGenerator;
import com.neusoft.bizcore.web.utils.id.DefaultIdGenerator;

@Configuration
@ComponentScan(basePackages = "com.neusoft.neuiotms.common")
public class NeuiotmsCommonConfiguration {

    @Bean
    public BaseIdGenerator sysTaskCodeGenerator() {
        return new DefaultIdGenerator(0, "TASK_");
    }

}
